package com.lihao.sam.service.intf;

import com.lihao.sam.entity.ScoreSet;
import com.lihao.sam.vo.PageVo;
import com.lihao.sam.vo.R;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author 赵申奥
 * @Description:
 */
public interface ScoreSetService {
    R add(ScoreSet scoreSet);
    R update(ScoreSet scoreSet);
    R delete(int id);
    PageVo queryPage(String rule,Integer score, int page, int limit);
    R importData(MultipartFile file) throws IOException;
    void exportData(HttpServletResponse response) throws IOException;
}
